package dao;

import entities.GroupJdo;
import org.hibernate.SessionFactory;
import org.springframework.orm.hibernate3.HibernateTemplate;

import java.sql.Date;
import java.util.List;

public class DBGroupDAOImpl implements GroupDAO {
    private HibernateTemplate hibernateTemplate;

    public void setSessionFactory(SessionFactory sessionFactory){
        this.hibernateTemplate = new HibernateTemplate(sessionFactory);
    }

    public void addGroup(GroupJdo group) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    public void removeGroup(GroupJdo group) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    public void updateGroup(Long groupId, GroupJdo group) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    public GroupJdo getGroupById(Long groupId) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public List<GroupJdo> getGroupsByCompanyId(Long companyId) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public List<GroupJdo> getGroupsByUserId(Long userId) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public List<GroupJdo> getGroupsByDateRegistered(Date dateRegistered) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public List<GroupJdo> getGroupsRegisteredInPeriod(Date startDate, Date endDate) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
